import request from '../../utils/request';
/** 食品安全  */

//追溯监管 列表
export function getList (params){
    return request({
        url:'/sys/foodSafeSource/findFoodSafeSourcePage.do',
        method: 'get',
        params: params
    });
};



//追溯监管 详情
export function getDetails (params){
    return request({
        url:'/sys/iaMaterialCorps/getDetail.do',
        method: 'get',
        params: params
    });
};

//追溯监管 详情-基地操作记录
export function getDetails_jdczjl (params){
    return request({
        url:'/sys/iaMaterialCorps/findOperatePage.do',
        method: 'get',
        params: params
    });
};

//追溯监管 详情-农资购买记录
export function getDetails_nzgmjl (params){
    return request({
        url:'/sys/foodSafeSource/findBuyProductsByMerchantPage.do',
        method: 'get',
        params: params
    });
};



//追溯监管 详情-购买方
export function getDetails_gmf (params){
    return request({
        url:'/sys/foodSafeSource/findPurchaserPage.do',
        method: 'get',
        params: params
    });
};

